public class CommandA : AbstractCommand{
    public CommandA(ServiceProvider serviceProvider) : base(serviceProvider){}

    public override void Execute(){
        serviceProvider.ServiceA();
    }
}